package com.txy.pojo;

public class MonitorData {
    private Long costTime;
    private Long timestamp;

    public MonitorData(Long costTime) {
        this.costTime = costTime;
        this.timestamp = System.currentTimeMillis();
    }

    public Long getCostTime() {
        return costTime;
    }

    public void setCostTime(Long costTime) {
        this.costTime = costTime;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }
}
